<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<div title="选择布控点" id="controlPointDialog">
	<div id="sltControlPoint" style="width:100%;height:40px;">
		<label>名称</label>
		<input type="text" id="txtControlPointName">
		<label style="margin-left:20px;">路段名称</label>
		<select id="sltCPDRoadSection">
			<option value="">--所有--</option>
			<c:forEach items="${listRoadSection}" var="roadSection">
				<option value="${roadSection.id }">${roadSection.name }</option>
			</c:forEach>
		</select>
		<button style="float:right;margin-left:10px;"onclick="clearInput('sltControlPoint');">重置</button>
		<button style="float:right;" onclick="findControlPointListForSelect()">查询</button>
	</div>
	<table>
		<tr>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="leftControlPoints" style="min-width:400px;" cellspacing="0" cellpadding="0">
						<tbody>
							<tr>
								<td></td>
							</tr>
						</tbody>
					</table>
				</div>
			</td>
			<td style="width:80px;" align="center">
				<button style="width:60px;" onclick="moveFromObjToObj('leftControlPoints','rightControlPoints')">&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('leftControlPoints','rightControlPoints')">&gt;&gt;</button>
				<button style="width:60px;margin-top:10px;"  onclick="moveFromObjToObjAll('rightControlPoints','leftControlPoints')">&lt;&lt;</button>
				<button style="width:60px;margin-top:10px;" onclick="moveFromObjToObj('rightControlPoints','leftControlPoints')">&lt;</button>
			</td>
			<td valign="top">
				<div style="width:340px;height:160px;overflow:scroll;">
					<table id="rightControlPoints" style="min-width:400px;" cellspacing="0" cellpadding="0">
						<thead>
							<tr>
								<td>名称</td>
								<td>编号</td>
								<td>路段名称</td>
								<td>经度</td>
								<td>维度</td>
							</tr>
						</thead>
						<tbody></tbody>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>
<script>
	$("#sltControlPoint button").button();
	setTableCSS("rightControlPoints");
</script>